﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="get_exam_group.aspx.cs" Inherits="SQT.tracnghiem.Ajax.ASP.Class.get_exam_group" %>
<%@ Import Namespace="DataAccess" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<body>
    <%int id = int.Parse(Request.QueryString["id"]);
        var get_group = new TblExamGroupController().FetchAll().Where(x => x.Semester == id);

        foreach (TblExamGroup group in get_group)
        {%>
            <option value="<%=group.GroupId %>"><%=group.GroupName %></option>
    <%} %>
</body>
</html>
